package com.magicode.cms.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.magicode.cms.dao.IProgramPersonRelaDao;
import com.magicode.cms.entiy.base.ProgramPersonRela;
import com.magicode.cms.service.IProgramPersonRelaService;

@Service("serviceprogramPersonRela")
public class ProgramPersonRelaServiceImpl extends BaseServiceImpl<ProgramPersonRela, IProgramPersonRelaDao> implements IProgramPersonRelaService {

	@Override
	public List<Map<String, Object>> getBeanInfo() {
		return null;
	}

	@Override
	public String getHql(Map<String, String> querywhere) throws Exception {
		return null;
	}

	@Override
	public List<Map<String, Object>> grid(Map<String, String> querywhere) {
		return null;
	}

	@Override
	public void deleteProgramPersonRelalist(String id,Boolean isPerson) {
		programPersonRelaDao.deleteProgramPersonRelalist(id,isPerson);
	}
	
	@Override
	public IProgramPersonRelaDao getDao() throws Exception {
		return programPersonRelaDao;
	}

	@Autowired
	@Qualifier("daoprogramPersonRela")
	private IProgramPersonRelaDao programPersonRelaDao;

	public IProgramPersonRelaDao getProgramPersonRelaDao() {
		return programPersonRelaDao;
	}

	public void setProgramPersonRelaDao(IProgramPersonRelaDao programPersonRelaDao) {
		this.programPersonRelaDao = programPersonRelaDao;
	}

}
